import request from '@/utils/request'



export function getArticleList( pageSize  ,pageNum) {
  return request({
    url: '/getBlogList',
    method: 'get',
    params: { pageSize , pageNum }
  })
}



export function getBlogContentById( blogId) {
  return request({
    url: '/getBlogContentById',
    method: 'get',
    params: {   blogId }
  })
}


export function searchBlog( keyWords) {
  return request({
    url: '/searchBlog',
    method: 'get',
    params: {   keyWords }
  })
}
